#include "AnimationController.h"


AnimationController::AnimationController(void)
{
	state = AnimationStatus::Stop;
	currentAnim = NULL;
	noNameAnim = 0;
}

AnimationController::~AnimationController(void)
{
}

bool AnimationController::Update(DWORD time)
{
	if(state == AnimationStatus::Play)
	{
		return Animations[currentAnim]->Update(time);
	}
	else
	{
		return false;
	}
}
